class CreatePhotos < ActiveRecord::Migration
  def change
    create_table :photos do |t|
      t.integer :status, :defautl => 0 
      t.string :title, :limit => 50, :null => false
      t.integer :category, :null => false

      t.timestamps
    end
  end
end
